const a = []
for (let i = 0; i < 12; i++) {
    let temp = []
    for (let j = 0; j < 12; j++) {
        temp.push(j * 12 + i)
    }
    a.push(temp)
}

let tem = []
a.forEach(item => {
    for (let i = 0; i < 8; i++) {
        tem.push([item[i], item[i + 1], item[i + 2], item[i + 3], item[i + 4]])
    }
})
